<?php

namespace App\Models;

use App\Enums\AssetKeyStatus;
use BenSampo\Enum\Traits\CastsEnums;

/**
 * @mixin IdeHelperAssetKey
 */
class AssetKey extends BaseModel
{
    use CastsEnums;

    protected $casts = [
        'status' => AssetKeyStatus::class,
    ];

    public function asset()
    {
        return $this->belongsTo(Asset::class);
    }
}
